package com.vietjetair.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class TicketVo implements Serializable {

    /**  */
    private Integer goId;
    private Integer comId;
    /** 选择价格按钮值 */
    private String goButton;
    private String comButton;

    private String key;
    /** 单程or返回 */
    private String trip;
    /** 出发点 */
    private String selectOrigin;
    /** 到达点 */
    private String selectDestination;
    /** 出发日期 */
    private String txtDepartDateDay;
    private String txtDepartDateMonth;

    /** 返回时间 */
    private String txtReturnDateDay;
    private String txtReturnDateMonth;
    /** 货币 */
    private String currency;
    /** 成人 */
    private String adult;
    /** 儿童 */
    private String child;
    /** 小孩 */
    private String infants;
    /** 用户 */
    private List<User> userList;

    @Data
    public static class User implements Serializable{
        private String sex;
        private String surname;
        private String reputation;
        private String address;
        private String city;
        private String area;
        private String mail;
        private String phoneNumber;
    }


    @Override
    public String toString() {
        return "TicketVo{" +
                "goId=" + goId +
                ", comId=" + comId +
                ", goButton='" + goButton + '\'' +
                ", comButton='" + comButton + '\'' +
                ", key='" + key + '\'' +
                ", trip='" + trip + '\'' +
                ", selectOrigin='" + selectOrigin + '\'' +
                ", selectDestination='" + selectDestination + '\'' +
                ", txtDepartDateDay='" + txtDepartDateDay + '\'' +
                ", txtDepartDateMonth='" + txtDepartDateMonth + '\'' +
                ", txtReturnDateDay='" + txtReturnDateDay + '\'' +
                ", txtReturnDateMonth='" + txtReturnDateMonth + '\'' +
                ", currency='" + currency + '\'' +
                ", adult='" + adult + '\'' +
                ", child='" + child + '\'' +
                ", infants='" + infants + '\'' +
                '}';
    }
}
